﻿using System;
using WorkOrder.Business;

namespace WorkOrder
{
    public partial class main_notice : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            fillData();
        }

        private void fillData()
        {
            Business_Table_Notice B_T_N = new Business_Table_Notice();
            DataList1.DataSource = B_T_N.GetList(20, "", "A.CreateDate DESC");
            DataList1.DataBind();
        }

        protected void Timer1_Tick(object sender, EventArgs e)
        {
            fillData();
        }
    }
}